package com.example.luoyin.dagger2test1.component;

import com.example.luoyin.dagger2test1.module.AppModule;
import com.example.luoyin.dagger2test1.module.GithubApiModule;
import com.example.luoyin.dagger2test1.ui.activity.component.SplashActivityComponent;
import com.example.luoyin.dagger2test1.ui.activity.module.SplashActivityModule;
import com.example.luoyin.dagger2test1.module.UserModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by Miroslaw Stanek on 22.04.15.
 */
@Singleton
@Component(
        modules = {
                AppModule.class,
                GithubApiModule.class
        }
)
public interface AppComponent {

    SplashActivityComponent plus(SplashActivityModule module);

    UserComponent plus(UserModule userModule);

}